package com.ye.spring.controller;

import com.ye.spring.pojo.User;
import com.ye.spring.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

    @Autowired
    private UserService userService;

    public void saveUser() {

        userService.addUser();
    }
}
